﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPWinFormWork.Product.Model
{
    /// <summary>
    /// 产品出库
    /// </summary>
    public class Stockout_Model
    {
        public int Id { get; set; }

        /// <summary>
        /// 出库单名称
        /// </summary>
        public string Stockout_Name { get; set; }

        /// <summary>
        /// 出库单编号
        /// </summary>
        public string Stockout_Number { get; set; }

        /// <summary>
        /// 出货检验单id
        /// </summary>
        public int InspectionId { get; set; }

        /// <summary>
        /// 出库日期
        /// </summary>
        public DateTime Stockout_Time { get; set; }

        /// <summary>
        /// 销售(关联)
        /// </summary>
        public int Sales_Id { get; set; }

        /// <summary>
        /// 客户(关联)
        /// </summary>
        public int Customer_Id { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Stockout_Desc { get; set; }

        /// <summary>
        /// 产品主键(关联)
        /// </summary>
        public int Product_Id { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Stockout_Unit { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 到期日期
        /// </summary>
        public DateTime OpenTime { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 出库数量
        /// </summary>
        public int Stockout_Num { get; set; }
        /// <summary>
        /// 仓库(关联)
        /// </summary>
        public int Warehouse_Id { get; set; }

        /// <summary>
        /// 库位
        /// </summary>
        public int AreaId { get; set; }

        /// <summary>
        /// 库区
        /// </summary>
        public int StorageId { get; set; }


        /// <summary>
        /// 状态
        /// </summary>
        public int Stockout_State { get; set; }
    }

}
